
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="span12">
	<div class="widget">
		<ul class="breadcrumb br_styled no_space">
			<li><a href="${pageContext.request.contextPath}/template/">Dashboard</a>
				<span class="divider">/</span></li>
			<li class="active">Validateur HTML</li>
		</ul>
	</div>

	<div class="widget">
		<header>
			<h3>
				Table des Sites <span> - chaque utilisateur surveille ses
					sites </span>
			</h3>
			<ul class="toggle_content">
				<li class="arrow"><a href="#">Toggle Content</a></li>
			</ul>
		</header>
		<section>
			<table id="check_2" class="table_basic sortable chbox css">
				<thead>
					<tr>
						<td>Role</td>
						<td><a class="sort_desc" href="#">login</a></td>
						<td><a class="sort_asc" href="#">Nom</a></td>
						<td><a href="#">Email</a></td>
						<td><a href="#">Password</a></td>
						<td>option</td>

					</tr>
				</thead>
				<tbody>
					<s:iterator value="user">
					
						<tr>
							<td><s:property value="role.nom_role" /></td>
							<td><s:property value="login" /></td>
							<td><s:property value="nom" /></td>
							<td><s:property value="email" /></td>
							<td><s:property value="password" /></td>
							<td><s:a href="delSuseradmin?login=%{login}">
									<img src="css/img/supprimer.png"></img>
								</s:a></td>

						</tr>
						
					</s:iterator>
				</tbody>

			</table>
		</section>
		<form action="addUtilisateur" method="post">
                    <section class="welly form_align">                         
                        <div class="row-fluid">
                          <div class="span3">Nom:</div>
                          <div class="span9"><input type="text" name="nom"></div>
                        </div>  
                        <hr>
                        <div class="row-fluid">
                          <div class="span3">email:</div>
                          <div class="span9"><input type="text" name="email"></div>
                        </div>  
                        <hr>
                        <div class="row-fluid">
                          <div class="span3">Login:</div>
                          <div class="span9"><input type="text" name="login" placeholder="" ></div>
                        </div>  
                        <hr>
                        <div class="row-fluid">
                          <div class="span3">password:</div>
                          <div class="span9"><input type="text" name="password" placeholder="" ></div>
                        </div>  
                          <hr>
                        <div class="row-fluid">
                          <div class="span3">choisissez Votre Role:</div>
                          <div class="span9">
                          <s:select name="rol" data-placeholder="votre role..." cssClass="chzn-select" tabindex="2"  list="%{role}" listKey="id_role" listValue="nom_role" ></s:select>
                              
                           <!--    <span class="help-inline">Chosen plugin</span> -->
                          </div>
                        </div> 
                            <div class="form-actions">
                            <button type="submit" class="btn btn-success">Save changes</button>
                           
                     </div> 
                                  
                    </section>
                 </form>
		
	</div>








	
</div>

